package com.xgry.bpm.api.base.paymentorderpagetablebody.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PayMentOrderPage_TableBody")
public class PayMentOrderPageTableBody extends Model<PayMentOrderPageTableBody> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("amountPaid")
    private Double amountPaid;

    @TableField("amountPayable")
    private BigDecimal amountPayable;

    @TableField("bankAccount")
    private String bankAccount;

    private String name;

    @TableField("payMentBank")
    private String payMentBank;

    @TableField("payMentMethod")
    private String payMentMethod;

    @TableField("payMentOrderPageId")
    private Integer payMentOrderPageId;

    private String surplusamount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
